// File: main.cpp
// Author: Ilkka Vuorio

// Description: main function of the console application.

#include <iostream>

#include "cell.h"
#include "grid.h"
#include "domain.h"
#include "solver.h"

using namespace std;

int main(int argc, char* args[])
{
    // To get rid of compiler warning
    argc; args;
    
    cout << "Welcome to Sudoku Solver 2012!\n\n";

    if (Cell::runUnitTest() == true)
        cout << "Cell::runUnitTest succeeded\n";
    else
        cout << "Cell::runUnitTest failed\n";

    if (Domain::runUnitTest() == true)
        cout << "Domain::runUnitTest succeeded\n";
    else
        cout << "Domain::runUnitTest failed\n";

    if (Grid::runUnitTest() == true)
        cout << "Grid::runUnitTest succeeded\n";
    else
        cout << "Grid::runUnitTest failed\n";

	if (Solver::runUnitTest() == true)
        cout << "Solver::runUnitTest succeeded\n";
    else
        cout << "Solver::runUnitTest failed\n";

    return 0;
}